
import { Injectable, Injector } from '@angular/core';
import { NgRepository } from '@farris/devkit';
import { BefRepository, NgVariable } from '@farris/bef';
import { Goods01tEntity } from './entities/goods01tentity';

import { Goods01tProxy } from './goods01tproxy';

@Injectable()
@NgRepository({
    apiUrl: 'api/apporder/df/v1.0/goods01t_frm',
    entityType: Goods01tEntity
})
export class Goods01tRepository extends BefRepository<Goods01tEntity> {
    public name = 'Goods01tRepository';

    public proxy: Goods01tProxy;
    public paginationInfo = {
        Goods01tEntity: {
            pageSize: 20,
        }
    };
    constructor(injector: Injector) {
        super(injector);
        this.proxy = injector.get(Goods01tProxy, null);
    }
}